package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.IntegralConsumeRelationDao;
import com.frogs.ucenter.entity.IntegralConsumeRelation;
import com.frogs.ucenter.service.IntegralConsumeRelationService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("integralConsumeRelationService")
public class IntegralConsumeRelationServiceImpl extends BaseServiceImpl<IntegralConsumeRelation> implements IntegralConsumeRelationService {
    @Autowired
    private IntegralConsumeRelationDao integralConsumeRelationDao;

    public IntegralConsumeRelationServiceImpl() {
        super();
    }

    public IntegralConsumeRelationDao getIntegralConsumeRelationDao() {
        return integralConsumeRelationDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<IntegralConsumeRelation> getBaseDao() {
        return integralConsumeRelationDao;
    }

    public void setIntegralConsumeRelationDao(IntegralConsumeRelationDao integralConsumeRelationDao) {
        this.integralConsumeRelationDao = integralConsumeRelationDao;
    }
}